package cc.market.service;

import cc.market.DTO.UserDTO;
import cc.market.entity.User;

public interface UserService {


    Boolean register(UserDTO userDTO);

    User getByPhone(String phone);

    User getById(Integer userId);

    void update(User user);

    void updatePwd(Integer id,String pwd);
}
